package com.itheima.service;

import com.itheima.entity.PageResult;
import com.itheima.entity.QueryPageBean;
import com.itheima.pojo.Food;

import java.util.List;
import java.util.Map;

public interface FoodService {
    void addList(List<Food> foodList);

    PageResult findPage(QueryPageBean queryPageBean);

    void add(Food food);

    void delete(Integer id);

    Food findById(Integer id);

    void edit(Food food);

    List<Map> getFoodTypes();

    List<Food> findAll();
}
